package com.itheima.health;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity;

@SpringBootApplication
@EnableGlobalMethodSecurity(prePostEnabled = true)  //开启权限控制注解
public class SecurityApplication {
    public static void main(String[] args){
        SpringApplication.run(SecurityApplication.class, args);
    }
}